package com.fastloan.mgt.customer;

import com.kawins.supers.redis.RedisAbstract;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * Created by gelon on 2017/11/9.
 */
public class RedisService extends RedisAbstract {

    private RedisTemplate<String, Object> redisTemplate;

    @Override
    public RedisTemplate<String, Object> buildRedisTemplate() {
        return redisTemplate;
    }

    public RedisTemplate<String, Object> getRedisTemplate() {
        return redisTemplate;
    }

    public void setRedisTemplate(RedisTemplate<String, Object> redisTemplate) {
        this.redisTemplate = redisTemplate;
    }
}
